package com.gulimall.order.service;

import com.common.to.MemberTo;
import com.gulimall.order.vo.OrderConfirmVo;
import com.gulimall.order.vo.OrderSubmitVo;
import com.gulimall.order.vo.SubmitOrderResponseVo;

import java.util.concurrent.ExecutionException;

/**
 * @Author Rookie-6688
 * @Description
 * @Create 2021-04-27 17:59
 */
public interface OrderWebService {
    OrderConfirmVo getOrderConfirm(MemberTo memberTo) throws ExecutionException, InterruptedException;

    SubmitOrderResponseVo submitOrder(OrderSubmitVo orderSubmitVo, MemberTo memberTo);

}
